package cn.livingCloud.repository;

import cn.livingCloud.dto.ReportRuleListDto;
import cn.livingCloud.entity.core.ReportRule;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ReportRuleMapper {
    int deleteByPrimaryKey(String uuid);

    int insert(ReportRule record);

    int insertSelective(ReportRule record);

    ReportRule selectByPrimaryKey(String uuid);

    int updateByPrimaryKeySelective(ReportRule record);

    int updateByPrimaryKey(ReportRule record);

    List<ReportRule> getList(ReportRuleListDto listDto);

    List<Object> executeSql(@Param("sql") String sql);

    List<ReportRule> getListReportRule();
}